<?php

use Illuminate\Database\Schema\Blueprint;
use Illuminate\Database\Migrations\Migration;

class CreateVhuNganhngheTable extends Migration {

	/**
	 * Run the migrations.
	 *
	 * @return void
	 */
	public function up()
	{
		Schema::create('vhu_nganhnghe', function(Blueprint $table)
		{
			$table->increments('idNganh');
			$table->integer('idHeDaoTao')->default(1);
			$table->String('MaNganh',10);
			$table->String('Name');
			$table->integer('Dot1')->default(1);
			$table->integer('Dot2')->default(1);
			$table->integer('Dot3')->default(1);
			$table->String('KhoiXetTuyen');
			$table->timestamps();
			$table->tinyInteger('HienThi');
		});
	}

	/**
	 * Reverse the migrations.
	 *
	 * @return void
	 */
	public function down()
	{
		Schema::drop('vhu_nganhnghe');
	}

}
